<template lang="">
    <div>
        <h2>学校姓名:{{name | mySlice}}</h2>
        <h2>学校地址:{{addr}}</h2>
        <input type="text" v-fbind:value="name">
        <button @click="test">点击测试插件的hello方法</button>
    </div>
</template>
<script>
    export default {
        name:"School",
        data(){
            return{
                name:'MEO哈哈就会',
                addr:"上海",
                x:666
            }
        },
        methods: {
            test(){
                this.hello()
            }
        },
        mounted() {
            console.log("执行mounted!!!!!")
        }
    }
</script>
<style lang="">
    
</style>